package com.cloudkinto.service.amazon.inbound;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloudkinto.common.web.SingleResult;
import com.cloudkinto.entity.AsinShipmentDo;

import java.util.Date;

/**
 * <p>
 *  service接口
 * </p>
 * @author hua
 * @since 2021-09-07
 */
public interface AsinShipmentService extends IService<AsinShipmentDo> {

    SingleResult addInit();

    Object add(Object req, Long userId);

    SingleResult updateInit(Long id);

    Object update(Object updateVo, Long userId);

    int delete(Long id, Long userId);

    // AsinShipmentDetailRes detail(Long id);

    // SingleResult pageInit(Long userId);

    SingleResult createPlanInit(Long userId);

    // List<AsinShipmentRes> getList(Map<String, String> map);

    // PageResult getListPage(Map<String, String> map);

    void getShipments(Long shopId, Long companyId, Date begin, Date end);

    // SingleResult createInboundShipmentPlan(Long shopId, Long marketplaceId,String LabelPrepPreference, Address address, List<InboundShipmentPlanRequestItem> list);
    //
    // void createInboundShipment(Long shopId, Long marketPlaceId, JSONArray jsonArray, String shipmentName);
    //
    // void updateInboundShipment(Long shopId, Long marketPlaceId,Long id, String shipmentName, List<InboundShipmentPlanRequestItem> list);
    //
    // List addShipmentFile(MultipartFile file, Long userId, Long companyId) throws FileNotFoundException;
    //
    // Object updateInboundShipmentInit(Long id);
}
